package com.nageoffer.aicloud.service;

import com.nageoffer.aicloud.dto.resp.CaptchaRespDTO;
import jakarta.servlet.http.HttpServletRequest;
import org.checkerframework.checker.units.qual.C;

import java.io.IOException;

/**
 * 图片验证码接口层
 */
public interface CaptchaService {

    /**
     * 创建图片验证码
     *
     * @return 图片验证码返回实体类
     */
    CaptchaRespDTO createCaptCha(HttpServletRequest request) throws Exception;
}
